home *** CD-ROM | disk | FTP | other *** search
-
- *STRUCTUR.PRG by Jim Detmer
- *<<structur.prg>> creates empty STRUCTURE EXTENDED file using Debug
- *Detmer Systems Company, phone (203) 966-5359, Sept.17, 1986
- set safety off
- set console off
- set alte to temp.txt
- set alte on
- ? 'n temp.dbf'
- ? 'f 100 l 42 00'+chr(13)+'e 100 03'+chr(13)+'e 108 41'+chr(13)+;
- 'e 10a 02'+chr(13)+'e 120 42'+chr(13)+'e 12b 43'+chr(13)+'e 130 01';
- +chr(13)+'e 140 0d'+chr(13)+'e 141 1a'
- ? 'r cx'+chr(13)+'42'+chr(13)+'w'+chr(13)+'q'+chr(13)
- set alte off
- set alte to
- run <temp.txt debug>nul
- use temp
- copy to structur.dbf stru extended
- use structur.dbf
- zap
- set console on
- disp stru
- use
- *erase temp.txt && for production ver..
- *erase temp.dbf && for production ver.
- set safety on
- return